package com.yonyou.ucf.mdf.app.isvdxq.firstpart.device.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yonyou.iuap.yms.param.BaseEntity;
import com.yonyou.iuap.yms.annotation.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@YMSEntity
@YMSTable(tableName = "isv_devicelist")
public class DeviceListEntity extends BaseEntity {

    private long id;

    /**
     * 设备类型
     * 0记录仪 1R2000 2视频摄像头 3手套读写器 4pad 5手持机
     */
    private Integer type;

    /**
     * 设备编号
     */
    private String devicecode;

    /**
     * 设备名称
     */
    private String devicename;

    /**
     * 设备信息
     */
    private String deviceinfo;

    /**
     * 设备状态
     * - 0 未同步
     * - 1 已同步
     */
    private Integer status;

    /**
     * 创建时间
     */
    @YMSColumn(name="create_time")
    private String create_time;

    private String pubts;

    /**
     * 删除标记
     */
    private Integer dr;

    @YMSColumn(name="tenant_id")
    private String tenant_id;

    private String orgId;

    private Integer version;

    private String applicationId;

    private String appCode;

    /**
     * 设备IP地址
     */
    private String ipAddress;

    /**
     * 设备更新同步 时间
     */
    private String updateTime;

    /**
     * 用友新版本租户id
     */
    @YMSColumn(name = "ytenant_id")
    private String ytenant_id;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDevicecode() {
        return devicecode;
    }

    public void setDevicecode(String devicecode) {
        this.devicecode = devicecode;
    }

    public String getDevicename() {
        return devicename;
    }

    public void setDevicename(String devicename) {
        this.devicename = devicename;
    }

    public String getDeviceinfo() {
        return deviceinfo;
    }

    public void setDeviceinfo(String deviceinfo) {
        this.deviceinfo = deviceinfo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPubts() {
        return pubts;
    }

    public void setPubts(String pubts) {
        this.pubts = pubts;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public String getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(String applicationId) {
        this.applicationId = applicationId;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getYtenant_id() {
        return ytenant_id;
    }

    public void setYtenant_id(String ytenant_id) {
        this.ytenant_id = ytenant_id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
